package com.kele;

import cn.hutool.json.JSONUtil;
import io.github.resilience4j.retry.RetryRegistry;
import org.junit.jupiter.api.Test;
import org.kele.sc2020.consumer.AppConsumer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest(classes = AppConsumer.class)
public class testDemo {

    @Autowired
    RetryRegistry retryRegistry;

    @Test
    public void show1() {
        System.out.println(JSONUtil.toJsonPrettyStr(retryRegistry));

    }
}
